package day_per_month;

import junit.framework.Assert;
import junit.framework.TestCase;

public class MonthTest extends TestCase {

	public void test1(){
		Month m = new Month(0);
		int d = m.getDays();
		Assert.assertEquals(0, d);
	}
	
	public void test2(){
		Month m = new Month(3);
		int d = m.getDays();
		Assert.assertEquals(31, d);
	}
	
	public void test3(){
		Month m = new Month(10);
		int d = m.getDays();
		Assert.assertEquals(31, d);
	}
	
	public void test4(){
		Month m = new Month(2);
		int d = m.getDays();
		Assert.assertEquals(28, d);
	}
	
	public void test5(){
		Month m = new Month(4);
		int d = m.getDays();
		Assert.assertEquals(30, d);
	}
}
